//
// Created by aichao on 2021/12/21.
//

#ifndef EXAMPLE_EXAMPLE_H
#define EXAMPLE_EXAMPLE_H
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/embed.h>
namespace py = pybind11;
#include <iostream>
class Data{
public:
    int x;
    int y;
};


class Pet {
public:
    enum Kind {
        Dog = 0,
        Cat
    };

    class Attr {
    public:
        int a = 2;
    };

    explicit Pet(const std::string &name, Kind kind);

    void set_name(const std::string &name);

    Data* add(int &x, int &y);

    static void  print_dict(const py::dict& dict);

    std::string get_name() const;

    std::string name;
    Kind type;
    Attr atr;
};


#endif //EXAMPLE_EXAMPLE_H
